package com.chujian.sys.vo.menu;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * 菜单，前端适配
 */
@Getter
@Setter
@Accessors(chain = true)
public class Menu {

    private Long id;
    private Long pid;

    private String path;
    private String redirect;

    private String component;
    private MenuMeta meta;
    private String name;
    private List<Menu> children = new ArrayList<>();

    private String expJson;
    private Integer openType;

    // help
    private List<Long> paths;
    private Boolean checked = false;
}
